package com.liangsui.mss.mapper;

import com.liangsui.mss.domain.Income;
import com.liangsui.mss.domain.Refund;
import com.liangsui.mss.dto.RevenueQueryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RevenueMapper
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/12/7 15:05
 */
public interface RevenueMapper {
    /**
     * 查询收入的数据
     *
     * @param revenueQueryDto
     * @return
     */
    List<Income> queryIncome(@Param("revenue") RevenueQueryDto revenueQueryDto);

    /**
     * 查询退费的数据
     *
     * @param revenueQueryDto
     * @return
     */
    List<Refund> queryRefund(@Param("revenue") RevenueQueryDto revenueQueryDto);
}
